<meta charset="utf-8">
<script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
<span id="p" ip="" set="va中填入ip，用英文逗号隔开，lnmp一键安装包，探针地址/p.php"></span>
<span id="tz" ip="" set="va中填入ip，，用英文逗号隔开；雅黑，探针地址/tz.php"></span>
<span id="my" ip="" set="va中填入ip，，用英文逗号隔开；自定义，写入你的探针全部地址，全带http://"></span>
<div id="tan">
</div>
<center id="vps_ip" style="display:none;font-size:20px;">
</center>
<div id="tz_show" style="overflow:hidden;width:100%;height:315px;display:none;" >
    <div style="margin-top: -255px;">
		<iframe  id="src" src=""  style="width:100%;height:580px;" scrolling="no"></iframe>
	</div>
</div>
<script type="text/javascript">
	var p=$("#p").attr("ip");
	var tz=$("#tz").attr("ip");
	var my=$("#my").attr("ip");

	var pp=p.split(",");
	var tzp=tz.split(",");
	var myp=my.split(",");

	for(var x in pp){
		var url="http://"+pp[x]+"/p.php";
		var ip=pp[x];
		
		create(url,ip);
	}
	for(var x in  tz){
		var url="http://"+tz[x]+"/tz.php";
		var ip=tz[x];
		create(url,ip);
	}
	for(var x in  my){
		create(my[x],my[x]);
	}
	function create(url,ip){
		$("#tz_show > div >iframe").attr("src",url);
		$("#vps_ip").html(ip);
		var ip=$("#vps_ip").clone();
		var iframe=$("#tz_show").clone();
		ip.attr("id","");
		iframe.attr("id","");
		ip.css("display","");
		iframe.css("display","");
		$("#tan").append(ip);
		$("#tan").append(iframe);
	}
</script>